-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing impressions icon #12644
Missing impressions icon #12644
Conversation
append(stringResource(id = R.string.blaze_campaign_budget_reach_forecast)) | ||
appendInlineContent(id = id, alternateText = "[Icon]") | ||
} | ||
val inlineContent = mapOf( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I ended up inlining the info icon to ensure it looks nice when the text is 2 lines.
📲 You can test the changes from this Pull Request in WooCommerce-Wear Android by scanning the QR code below to install the corresponding build.
|
📲 You can test the changes from this Pull Request in WooCommerce Android by scanning the QR code below to install the corresponding build.
|
Version |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice work, TIL about InlineTextContent
👍
Closes: #12562
Description
Fixes an issue where the ℹ️ icon next to the impression label inside the Blaze budget screen, would go missing if the text was too long.
Steps to reproduce
From
trunk
Testing information
Repeat the steps above from this branch and verify that the ℹ️ icon is displayed correctly when the text is one line (English) and when the text is 2 lines (Spanish for example)
The tests that have been performed
Tested Blaze campaign creation flow.
Images/gif
Expected UI:
RELEASE-NOTES.txt
if necessary. Use the "[Internal]" label for non-user-facing changes.Reviewer (or Author, in the case of optional code reviews):
Please make sure these conditions are met before approving the PR, or request changes if the PR needs improvement: